﻿using System;

namespace BizElements.Core
{
    /// <summary>Enumerates options available to identify/name a field in a collection or for serialization purposes.</summary>
    internal enum FieldIdentifierProperty
    {
        /// <summary>Generated <see cref="BizElements.Core.IDbColumn.PropertyName"/> property is used to identify a field.</summary>
        PropertyName,

        /// <summary><see cref="BizElements.Core.IDbColumn.ColumnName"/> property as defined in database is used to identify a field.</summary>
        ColumnName,

        /// <summary><see cref="BizElements.Core.IDbColumn.Alias"/> property is used to identify a field.</summary>
        Alias
    }
}
